﻿using Architecture.Domain;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace Architecture.API.Application.Command.ProvinceCommand
{
    /// <summary>
    /// 省份查询命令
    /// </summary>
    public class ProvinceSearchCommand : IRequest<List<Province>>
    {
        /// <summary>
        /// 省ID
        /// </summary>
        public int ProvinceId { get; set; }

        /// <summary>
        /// 省名称
        /// </summary>
        public string? ProvinceName { get; set; }
    }
}
